package com.mybatis.simple.pojo;


public class TbOrderdetail {

  private Long id;
  private String oid;
  private Long pid;
  private Long num;
  private Double money;

  public TbOrderdetail() {
  }

  public TbOrderdetail(Long id, String oid, Long pid, Long num, Double money) {
    this.id = id;
    this.oid = oid;
    this.pid = pid;
    this.num = num;
    this.money = money;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }


  public String getOid() {
    return oid;
  }

  public void setOid(String oid) {
    this.oid = oid;
  }


  public Long getPid() {
    return pid;
  }

  public void setPid(Long pid) {
    this.pid = pid;
  }


  public Long getNum() {
    return num;
  }

  public void setNum(Long num) {
    this.num = num;
  }


  public Double getMoney() {
    return money;
  }

  public void setMoney(Double money) {
    this.money = money;
  }

  @Override
  public String toString() {
    return "TbOrderdetail{" +
            "id=" + id +
            ", oid='" + oid + '\'' +
            ", pid=" + pid +
            ", num=" + num +
            ", money=" + money +
            '}';
  }
}
